package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_pms_z_q database table.
 * 
 */
@Entity
@Table(name="per_pms_z_q")
@NamedQuery(name="PerPmsZQ.findAll", query="SELECT p FROM PerPmsZQ p")
public class PerPmsZQ implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int zqid;

	private String zqwht;

	//bi-directional many-to-one association to PerPmsPes
	@ManyToOne
	@JoinColumn(name="PESID")
	private PerPmsPes perPmsPe;

	//bi-directional many-to-one association to PerPmsPot
	@ManyToOne
	@JoinColumn(name="POTID")
	private PerPmsPot perPmsPot;

	public PerPmsZQ() {
	}

	public int getZqid() {
		return this.zqid;
	}

	public void setZqid(int zqid) {
		this.zqid = zqid;
	}

	public String getZqwht() {
		return this.zqwht;
	}

	public void setZqwht(String zqwht) {
		this.zqwht = zqwht;
	}

	public PerPmsPes getPerPmsPe() {
		return this.perPmsPe;
	}

	public void setPerPmsPe(PerPmsPes perPmsPe) {
		this.perPmsPe = perPmsPe;
	}

	public PerPmsPot getPerPmsPot() {
		return this.perPmsPot;
	}

	public void setPerPmsPot(PerPmsPot perPmsPot) {
		this.perPmsPot = perPmsPot;
	}

}